package com.sirc.zp.web.controllers;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 和页面跳转相关的Controller
 */
@Controller
public class ForwardController {
    /**
     * 跳转到注册页面
     * @return
     */
    @RequestMapping("/")
    public String login() {
        return "login";
    }
    /**
     * 跳转到 族谱成员添加页面
     * @return
     */
    @RequestMapping("/zpAdd")
    public String zpAdd() {
        return "manager/zpManager/zpAdd";
    }
}
